package com.example.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * Description:
 * User: 阿宾
 * Date: 2025-04-22
 * Time: 18:35
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult<T> {
    private List<T> records; //返回的查询列表
    private Integer count;  //总记录数
    private PageRequest pageRequest; //为了给前端提供当前页码，所以将请求对象直接加入

}
